package com.wuhunyu.mapper;

import com.wuhunyu.entities.UcenterMember;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * <p>
 * 会员表 Mapper 接口
 * </p>
 *
 * @author wuhunyu
 * @since 2021-01-23
 */
public interface UcenterMemberMapper extends BaseMapper<UcenterMember> {

    /**
     * 根据时间统计某天的注册人数
     * @param start
     * @param end
     * @return
     */
    public Integer countRegister(@Param("start") Date start, @Param("end") Date end);

}
